﻿using System;

class howManyPiExistBetweenNum
{
    static void Main()
    {
        int a=int.Parse(Console.ReadLine());
        int b = int.Parse(Console.ReadLine());
        double c=Convert.ToInt32((b-a)/Math.PI);
        Console.WriteLine(c);
    }
}